package com.lkz.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lkz.entity.Business;
import com.lkz.mapper.BusinessMapper;
import com.lkz.service.IBusinessService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class BusinessServiceImpl extends ServiceImpl<BusinessMapper, Business> implements IBusinessService {
    @Resource
    private BusinessMapper businessMapper;
    @Override
    public IPage<Business> selectList(Page<Business> page) {
        return businessMapper.selectList(page);
    }

    @Override
    public IPage<Business> selectDelList(Page<Business> page) {
        return businessMapper.selectDelList(page);
    }
}
